package com.lagou.seckill.base.component.impl;

import com.lagou.seckill.base.component.DemoComponent;
import com.lagou.seckill.base.service.demo.DemoService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 这一层对接controller
 * 并且要处理不同平台差异 统一返回到controller
 * 差异部分放在service
 */
@Service
@RequiredArgsConstructor
@Slf4j
public class DemoComponentImpl implements DemoComponent {
    private final DemoService demoService;
}
